package bb.lanxing.activity.sns

import android.app.Application
import android.content.Context
import androidx.lifecycle.MutableLiveData
import bb.lanxing.mvvm.base.viewmodel.BaseViewModel
import bb.lanxing.mvvm.base.viewmodel.ContextAction
import bb.lanxing.mvvm.base.viewmodel.SingleLiveEvent

class SnsViewModel(application: Application) : BaseViewModel(application) {
    @JvmField
    val connectResultLiveData: SingleLiveEvent<Boolean> = SingleLiveEvent()
    @JvmField
    val mSnsProviders: MutableLiveData<SnsProviders> = MutableLiveData()

    fun getSnsAccounts() {

    }
    fun onReceiveUriReturned(code: String?) {
    }

    fun connectSns(context: Context?, snsPlatform: SNSPlatform?) {
    }

    fun connectStrava(context: Context?) {
    }

    fun disConnectStrava() {
    }

    fun sendStravaCode(code: String?, resultCallBack: Function1<Boolean?, Unit>?) {
    }
}
